package sy.model;

import java.sql.Timestamp;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Testpage entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "testpage", catalog = "sy")
public class Testpage implements java.io.Serializable {

	// Fields

	private String id;
	private String name;
	private String code;
	private String description;
	private String url;
	private String elements;
	private Timestamp createdatetime;
	private Timestamp modifydatetime;

	// Constructors

	/** default constructor */
	public Testpage() {
	}

	/** minimal constructor */
	public Testpage(String id, String name, String code) {
		this.id = id;
		this.name = name;
		this.code = code;
	}

	/** full constructor */
	public Testpage(String id, String name, String code, String description,
			String url, String elements, Timestamp createdatetime,
			Timestamp modifydatetime) {
		this.id = id;
		this.name = name;
		this.code = code;
		this.description = description;
		this.url = url;
		this.elements = elements;
		this.createdatetime = createdatetime;
		this.modifydatetime = modifydatetime;
	}

	// Property accessors
	@Id
	@Column(name = "ID", unique = true, nullable = false, length = 36)
	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	@Column(name = "NAME", nullable = false, length = 20)
	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "CODE", nullable = false, length = 50)
	public String getCode() {
		return this.code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	@Column(name = "DESCRIPTION", length = 200)
	public String getDescription() {
		return this.description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	@Column(name = "URL", length = 200)
	public String getUrl() {
		return this.url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	@Column(name = "ELEMENTS", length = 2000)
	public String getElements() {
		return this.elements;
	}

	public void setElements(String elements) {
		this.elements = elements;
	}

	@Column(name = "CREATEDATETIME", length = 19)
	public Timestamp getCreatedatetime() {
		return this.createdatetime;
	}

	public void setCreatedatetime(Timestamp createdatetime) {
		this.createdatetime = createdatetime;
	}

	@Column(name = "MODIFYDATETIME", length = 19)
	public Timestamp getModifydatetime() {
		return this.modifydatetime;
	}

	public void setModifydatetime(Timestamp modifydatetime) {
		this.modifydatetime = modifydatetime;
	}

}